Don't ignore creation-deletion sequences
authorTsu Jan <tsujan2000@gmail.com>
Sun, 21 Apr 2019 09:41:14 +0000 (14:11 +0430)
committerAlf Gaida <agaida@siduction.org>
Sat, 5 Oct 2019 10:56:09 +0000 (11:56 +0100)
commitd4fc21a1e8d5789a93e0f610d7346e76bd134c47
tree1f868cd1ec4f65b5c35f0a26cf09bda5a3974aa9
parentd721e7e4081a07fdd7f7b61eb43e88388e9c3ca8
Don't ignore creation-deletion sequences

Fixes https://github.com/lxqt/pcmanfm-qt/issues/944

Previously, if a file was in addition queue and then it came into the deletion
queue, its addition and deletion were both ignored. That was wrong and could
result in showing nonexistent files because addition can also happen in
directory list job before being processed by file info job.

Also process accumulated changes only after finishing the current info job and
don't clear all deletion paths after processing them (because, logically, only
those paths that can be deleted should be removed).

Gbp-Pq: Name dont-ignore-crea-del-sequences.patch
src/core/folder.cpp